package sk.naive.talker.callback;

/**
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.1 $ $Date: 2003/12/15 18:49:52 $
 */
public class CallbackOkResult implements CallbackResult {
	private String callbackId;
	private String value;

	public CallbackOkResult(String callbackId, String value) {
		this.callbackId = callbackId;
		this.value = value;
	}

	public String callbackId() {
		return callbackId;
	}

	public int action() {
		return CALLBACK_OK;
	}

	public String value() {
		return value;
	}
}
